<?php
    //****
	// GLOBALS VARIABLE DECLARATIONS
	//****
	$gadgetJs = "";
	$gadgetHtml = "";
	$gadgetCss = "";

    //****
    // CONFIGURABLE IGLOCAL SETTINGS
    //****


    //TODO: Make these configurable via UI
	//Offline settings
	//Force http resources in gadget to reference proxy
    //$forceProxyForGadgetResources = false;

	//Force http responses to reference proxy - caution: this caches lots and can violate e.g. Google Maps policy as
	//Google Maps tiles will end up getting cached
    $forceProxyForResponse = false;



    //General settings    
    //Controls IGLocal debugging
    $debugMode = true;

    //log file
    $debugFile = "log/debugIGLocal.log";

    //IGLocal Servername e.g. http://localhost:8080
    //$IGHost = "http://localhost:8080";
    $IGHost = "http://bonstio.ath.cx";

    //Path to IGLocal e.g. /IGLocal/
    //$IGPath = "/iglocal/";
    $IGPath = "/webs/IGLocal/";

    //Where IGLocal live on your machine $IGHost + $IGPath. for http://localhost/IGLocal/
    $IGLocalDir = $IGHost . $IGPath;

	//Root dir to serve gadgets from
	$gadgetsDir = $IGLocalDir."gadgets/";

	//directory for where generated gadgets files are placed
	$generatedDir = "gadgets/generated/";

	//gadget js directory if using a split gadget definition
	$jsDir= $gadgetsDir."js/";

	//gadget cs directory if using a split gadget definition
	$cssDir= $gadgetsDir."css/";

	//gadget html directory if using a split gadget definition
	$htmlDir = $gadgetsDir."html/";

	//directory for message bundles
	$langDir = $gadgetsDir."lang/";

	//File for storing recent gadget settings
	$recentSettingsFile = "settings/settingsHistory.cfg";

	//File for storing gadget tags
	$settingsTagsFile = "settings/settingsTags.cfg";

	//Cache diectory
	$cacheDir = "cache/";

	//Cache config file
	$cacheConfigFile = "cache.cfg";

	//Settings history limit
	$settingsHistoryLimit = 10;

?>